
<div id="sidebar">
				<h1>Options</h1>
				<ul>
								
								<g:if  test="${session.user == null}">
								<li><p>Please login.</p></li>
								</g:if>
								<g:else>
								<g:if  test="${session.user.role == 'Manager'}">
								<li><a class="home" href="${createLink(uri: '/project/create')}"><g:message code="New Project"/></a></li>
								<li><a class="home" href="${createLink(uri: '/risk/create')}"><g:message code="New Risk"/></a></li>
								<li><a class="home" href="${createLink(uri: '/requirement/create')}"><g:message code="New Requirement"/></a></li>
								</g:if>
								<g:if test="${session.user.role == 'User'}">
								<li><a class="home" href="${createLink(uri: '/risk/create')}"><g:message code="New Risk"/></a></li>
								<li><a class="home" href="${createLink(uri: '/requirement/create')}"><g:message code="New Requirement"/></a></li>
								<li><a class="home" href="${createLink(uri: '/task/create')}"><g:message code="My Time"/></a></li>
								
								</g:if>
								<g:if  test="${session.user.role == 'Manager'}">
								<li><a class="home" href="${createLink(uri: '/membership/create')}"><g:message code="Add Team Member"/></a></li>
				                <li><a class="home" href="${createLink(uri: '/task/create')}"><g:message code="My Time"/></a></li>
				                <li><a class="home" href="${createLink(uri: '/project/report')}"><g:message code="Project Report"/></a></li>
				                
				                </g:if>
				                <g:if test="${session.user.role == 'Admin'}">
				                	<li><a class="home" href="${createLink(uri: '/user/create')}"><g:message code="Create Account"/></a></li>
				                	
				                </g:if>
				                </g:else>
				</ul>
		
		
		
		</div>